<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

	<xsl:template match="treePages/treeMenu">
		<ul>
			<xsl:apply-templates/>
		</ul>
	</xsl:template>
	
	<xsl:template match="treePages/treeMenu//item">
		<li>
			<a href="/catalogue/{@id}/"><xsl:value-of select="@name"/></a>
			<ul>
				<xsl:apply-templates/>
			</ul>
		</li>
	</xsl:template>

</xsl:stylesheet>